/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-04-22
 * Time: 10:56
 */
public abstract class Employee {
   protected String name;
   protected double wages;
   public abstract double earnings();

   public Employee(String name, double wages) {
      this.name = name;
      this.wages = wages;
   }
}
